////////////////////////////////////////////////////////////////////////////////// // // // Keychain Encouragement Device // // // // Code by: Alexander Haley // // Design by: Alexander Haley // // // // Modified by: (No one, yet.) // // // // © Alexander Haley, // // Kincaid Arcade // // 5 - 28 - 2018 // // // // Last Edit: 8 - 3 - 2018 // // // ////////////////////////////////////////////////////////////////////////////////// // include the library code: #include // initialize the library by associating any needed LCD interface pin // with the arduino pin number it is connected to const int rs = 7, en = 8, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); byte VerseNum = 0; byte VerseCount = 0; byte ScrollNum = 0; byte PastScrollNum = 0; int ScrollDelay = 0; byte buttonState = 0; byte lastButtonState = 0; byte button = 6; //button for encouragement void setup() { pinMode(button, INPUT); // set up the LCD's number of columns and rows: lcd.begin(16, 2); lcd.clear(); lcd.setCursor(1, 0); lcd.print(F("All Verses ESV")); lcd.setCursor(2, 1); lcd.print(F("Press Button")); randomSeed(analogRead(0)); } void loop() { buttonState = digitalRead(button); if(buttonState == 1 && lastButtonState == 0) { delay(6); buttonState = digitalRead(button); if(buttonState == 1 && lastButtonState == 0) { VerseNum = random(1,80); ScrollNum = 0; } } delay(6); chooseverse(); lastButtonState = buttonState; ScrollDelay ++; PastScrollNum = ScrollNum; if(ScrollDelay >= 350) { ScrollNum ++; ScrollDelay = 0; } } int chooseverse() { switch(VerseNum) { case 1: ActsOneEight(); break; case 2: OneCorinthiansTenThirteen(); break; case 3: SecondCorinthiansOneThreeFour(); break; case 4: TwoCorinthiansFourSixteen(); break; case 5: DeuteronomyTwentyFour(); break; case 6: DeuteronomyThirtyOneSix(); break; case 7: DeuteronomyThirtyThreeTwentySix(); break; case 8: EphesiansThreeSixteen(); break; case 9: EphesiansSixTen(); break; case 10: EphesiansSixThirteen(); break; case 11: ExodusFifteenTwo(); break; case 12: HabakkukThreeNineteen(); break; case 13: HebrewsThirteenSix(); break; case 14: IsaiahFortyThirtyOne(); break; case 15: IsaiahFortyOneTen(); break; case 16: IsaiahFortyOneThirteen(); break; case 17: IsaiahFortyTwoThree(); break; case 18: IsaiahFortyThreeTwo(); break; case 19: IsaiahSixtySixThirteen(); break; case 20: JeremiahTwentyNineEleven(); break; case 21: JeremiahThirtyOneThirteen(); break; case 22: JeremaihThirtyTwoSeventeen(); break; case 23: OneJohnFiveFourteen(); break; case 24: JohnSixThirtySeven(); break; case 25: JohnSixFortySeven(); break; case 26: JohnFourteenTwentySeven(); break; case 27: JohnFifteenThirteen(); break; case 28: JohnFifteenEighteenNineteen(); break; case 29: JohnSixteenThirtyThree(); break; case 30: JoshuaOneNine(); break; case 31: MarkTenTwentySeven(); break; case 32: MatthewFiveFourteenSixteen(); break; case 33: MatthewSevenSeven(); break; case 34: MatthewElevenTwentyEightTwentyNine(); break; case 35: NahumOneSeven(); break; case 36: NehemiahEightTen(); break; case 37: OnePeterFiveSixSeven(); break; case 38: PhillipiansFourThirteen(); break; case 39: ProverbsThreeFiveSix(); break; case 40: ProverbsEighteenTen(); break; case 41: ProverbsTwentyTwentyTwo(); break; case 42: PsalmsNineNine(); break; case 43: PsalmsTenFourteen(); break; case 44: PsalmsSixteenEight(); break; case 45: PsalmsTwentyThreeFour(); break; case 46: PsalmsTwentySevenFour(); break; case 47: PsalmsThirtyFive(); break; case 48: PsalmsTwentySevenThirteenFourteen(); break; case 49: PsalmsThirtyTwoEight(); break; case 50: PsalmsThirtyFourSix(); break; case 51: PsalmsThirtyFourEight(); break; case 52: PsalmsThirtyFourNineteen(); break; case 53: PsalmsThirtySevenForty(); break; case 54: PsalmsFortySixOne(); break; case 55: PsalmsFiftyFiveTwentyTwo(); break; case 56: PsalmsFiftySevenThree(); break; case 57: PsalmsSixtyElevenTwelve(); break; case 58: PsalmsSeventyOneTwentyTwentyOne(); break; case 59: PsalmsSeventyTwoTwelve(); break; case 60: PsalmsSeventyThreeTwentySix(); break; case 61: PsalmsOneEighteenFourteenSixteen(); break; case 62: PsalmOneNineteenOneFourteenOneFifteen(); break; case 63: PsalmsOneNineteenFifty(); break; case 64: PsalmsOneTwentyOneTwo(); break; case 65: PsalmsOneTwentyOneOneTwo(); break; case 66: PsalmsOneThirtyEightThree(); break; case 67: PsalmsOneFortyFiveNineteen(); break; case 68: PsalmsOneFortySixFiveEight(); break; case 69: PsalmsOneFortySevenThreeFour(); break; case 70: RomansFiveEight(); break; case 71: RomansEightSix(); break; case 72: RomansEightThirtySeven(); break; case 73: OneSamuelTwentyTwoThree(); break; case 74: FirstThessaloniansfiveEleven(); break; case 75: SecondThessaloniansThreeThree(); break; case 76: SecondTimothyOneSixSeven(); break; case 77: ZechariahFourSix(); break; case 78: ZephaniahThreeFourFive(); break; case 79: ZephaniahThreeSeventeen(); break; } } /////////////////////////////////////////////////////// // Bible Verses // /////////////////////////////////////////////////////// int ActsOneEight() //All functions declared as integers because God's word never returns void! { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(4,0); lcd.print(F("Acts 1:8")); //But you will receive power when the Holy Spirit has come upon you, and you lcd.setCursor(0,1); //will be my witnesses in Jerusalem and in all Judea and Samaria, and to the end of the earth.” if(ScrollNum >= 13) //16,15 = 3 14,13 = 5 12,11 = 2 10,9 = 0 8,7 = 1 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("But you will")); //12 break; case 2: lcd.setCursor(1,1); lcd.print(F("receive power")); //13 break; case 3: lcd.setCursor(1,1); lcd.print(F("when the Holy")); //13 break; case 4: lcd.print(F("Spirit has come")); //15 break; case 5: lcd.setCursor(1,1); lcd.print(F("upon you, and")); //13 break; case 6: lcd.setCursor(1,1); lcd.print(F("you will be my")); //14 break; case 7: lcd.setCursor(2,1); lcd.print(F("witnesses in")); //12 break; case 8: lcd.print(F("Jerusalem and in")); //16 break; case 9: lcd.setCursor(1,1); lcd.print(F("all Judea and")); //13 break; case 10: lcd.print(F("Samaria, and to")); //15 break; case 11: lcd.setCursor(1,1); lcd.print(F("the end of the")); //14 break; case 12: lcd.setCursor(4,1); lcd.print(F("earth.\"")); //7 break; } } } int OneCorinthiansTenThirteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("1 Cor. 10:13")); //No temptation has overtaken you that is not common to man. God is faithful, and he will not let you be lcd.setCursor(1,1); //tempted beyond your ability, but with the temptation he will also provide the way of escape, that you may be able to endure it. if(ScrollNum >= 17) //16,15 = 6 14,13 = 7 12,11 = 1 10,9 = 2 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("No temptation")); //13 break; case 2: lcd.print(F("has overtaken")); //13 break; case 3: lcd.setCursor(0,1); lcd.print(F("you that is not")); //15 break; case 4: lcd.print(F("common to man.")); //14 break; case 5: lcd.setCursor(0,1); lcd.print(F("God is faithful,")); //16 break; case 6: lcd.setCursor(0,1); lcd.print(F("and he will not")); //15 break; case 7: lcd.setCursor(3,1); lcd.print(F("let you be")); //10 break; case 8: lcd.print(F("tempted beyond")); //14 break; case 9: lcd.print(F("your ability,")); //13 break; case 10: lcd.setCursor(2,1); lcd.print(F("but with the")); //12 break; case 11: lcd.print(F("temptation he")); //13 break; case 12: lcd.setCursor(3,1); lcd.print(F("will also")); //9 break; case 13: lcd.setCursor(0,1); lcd.print(F("provide the way")); //15 break; case 14: lcd.setCursor(0,1); lcd.print(F("of escape, that")); //15 break; case 15: lcd.setCursor(0,1); lcd.print(F("you may be able")); //15 break; case 16: lcd.print(F("to endure it.")); //13 break; } } } int SecondCorinthiansOneThreeFour() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("2 Cor. 1:3-4")); // Blessed be the God and Father of our Lord Jesus Christ, the Father of mercies and God of all comfort, lcd.setCursor(1,1); // who comforts us in all our affliction, so that we may be able to comfort those who are in any affliction, with the comfort with which we ourselves are comforted by God. if(ScrollNum >= 20) //16,15 = 7 14,13 = 8 12,11 = 2 10,9 = 1 8,7 = 0 6,5 = 0 4,3 = 1 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("Blessed be the")); //14 break; case 2: lcd.print(F("God and Father")); //14 break; case 3: lcd.setCursor(2,1); lcd.print(F("of our Lord")); //11 break; case 4: lcd.print(F("Jesus Christ,")); //13 break; case 5: lcd.print(F("the Father of")); //13 break; case 6: lcd.setCursor(0,1); lcd.print(F("mercies and God")); //15 break; case 7: lcd.setCursor(0,1); lcd.print(F("of all comfort,")); //15 break; case 8: lcd.setCursor(0,1); lcd.print(F("who comforts us")); //15 break; case 9: lcd.setCursor(3,1); lcd.print(F("in all our")); //10 break; case 10: lcd.print(F("affliction, so")); //14 break; case 11: lcd.print(F("that we may be")); //14 break; case 12: lcd.setCursor(0,1); lcd.print(F("able to comfort")); //15 break; case 13: lcd.setCursor(0,1); lcd.print(F("those who are in")); //16 break; case 14: lcd.setCursor(0,1); lcd.print(F("any affliction,")); //15 break; case 15: lcd.setCursor(0,1); lcd.print(F("with the comfort")); //16 break; case 16: lcd.print(F("with which we")); //13 break; case 17: lcd.print(F("ourselves are")); //13 break; case 18: lcd.setCursor(2,1); lcd.print(F("comforted by")); //12 break; case 19: lcd.setCursor(6,1); lcd.print(F("God.")); //4 break; } } } int TwoCorinthiansFourSixteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("2 Cor. 4:16")); //So we do not lose heart. Though our outer self is wasting away, our inner self is being renewed day by day. lcd.setCursor(0,1); //16,15 = 3 14,13 = 3 12,11 = 1 10,9 = 0 8,7 = 0 6,5 = 0 4,3 = 1 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... if(ScrollNum >= 9) { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("So we do not")); //12 break; case 2: lcd.setCursor(2,1); lcd.print(F("lose heart.")); //11 break; case 3: lcd.setCursor(0,1); lcd.print(F("Though our outer")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("self is wasting")); //15 break; case 5: lcd.setCursor(0,1); lcd.print(F("away, our inner")); //15 break; case 6: lcd.setCursor(1,1); lcd.print(F("self is being")); //13 break; case 7: lcd.setCursor(1,1); lcd.print(F("renewed day by")); //14 break; case 8: lcd.setCursor(6,1); lcd.print(F("day.")); //4 break; } } } int DeuteronomyTwentyFour() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Deuteronomy 20:4")); //for the Lord your God is he who goes with you to fight for you against your enemies, to give you the victory. lcd.setCursor(0,1); //16,15 = 4 14,13 = 2 12,11 = 1 10,9 = 0 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... if(ScrollNum >= 8) { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("for the Lord")); //12 break; case 2: lcd.setCursor(1,1); lcd.print(F("your God is he")); //14 break; case 3: lcd.setCursor(1,1); lcd.print(F("who goes with")); //13 break; case 4: lcd.print(F("you to fight for")); //16 break; case 5: lcd.print(F("you against your")); //16 break; case 6: lcd.print(F("enemies, to give")); //16 break; case 7: lcd.print(F("you the victory.")); //16 break; } } } int DeuteronomyThirtyOneSix() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Deuteronomy 31:6")); //Be strong and courageous. Do not fear or be in dread of them, for it is the Lord your God who goes with you. He will not leave you or forsake you.” lcd.setCursor(1,1); if(ScrollNum >= 12) //16,15 = 1 14,13 = 6 12,11 = 3 10,9 = 8,7 = 6,5 = 1 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("Be strong and")); //13 break; case 2: lcd.print(F("courageous. Do")); //14 break; case 3: lcd.print(F("not fear or be")); //14 break; case 4: lcd.setCursor(2,1); lcd.print(F("in dread of")); //11 break; case 5: lcd.setCursor(0,1); lcd.print(F("them, for it is")); //15 break; case 6: lcd.print(F("the Lord your")); //13 break; case 7: lcd.setCursor(2,1); lcd.print(F("God who goes")); //12 break; case 8: lcd.setCursor(2,1); lcd.print(F("with you. He")); //12 break; case 9: lcd.print(F("will not leave")); //14 break; case 10: lcd.print(F("you or forsake")); //13 break; case 11: lcd.setCursor(5,1); lcd.print(F("you.\"")); //5 break; } } } int DeuteronomyThirtyThreeTwentySix() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Deut. 33:26")); // "There is none like God, O Jeshurun, who rides through the heavens to your help, through the skies in his majesty. lcd.setCursor(1,1); if(ScrollNum >= 10) //16,15 = 0 14,13 = 4 12,11 = 3 10,9 = 1 8,7 = 1 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("\"There is none")); //14 break; case 2: lcd.setCursor(2,1); lcd.print(F("like God, O")); //11 break; case 3: lcd.print(F("Jeshurun, who")); //13 break; case 4: lcd.print(F("rides through")); //13 break; case 5: lcd.print(F("the heavens to")); //14 break; case 6: lcd.setCursor(3,1); lcd.print(F("your help,")); //10 break; case 7: lcd.setCursor(2,1); lcd.print(F("through the")); //11 break; case 8: lcd.setCursor(2,1); lcd.print(F("skies in his")); //12 break; case 9: lcd.setCursor(4,1); lcd.print(F("majesty.")); //8 break; } } } int EphesiansThreeSixteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Ephesians 3:16")); // that according to the riches of his glory he may grant you to be strengthened with power through his Spirit in your inner being, lcd.setCursor(1,1); if(ScrollNum >= 11) //16,15 = 3 14,13 = 3 12,11 = 2 10,9 = 1 8,7 = 0 6,5 = 1 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("that according")); //14 break; case 2: lcd.setCursor(0,1); lcd.print(F("to the riches of")); //16 break; case 3: lcd.setCursor(0,1); lcd.print(F("his glory he may")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("grant you to be")); //15 break; case 5: lcd.setCursor(2,1); lcd.print(F("strengthened")); //12 break; case 6: lcd.setCursor(3,1); lcd.print(F("with power")); //10 break; case 7: lcd.setCursor(2,1); lcd.print(F("through his")); //11 break; case 8: lcd.print(F("Spirit in your")); //14 break; case 9: lcd.print(F("in your inner")); //13 break; case 10: lcd.setCursor(5,1); lcd.print(F("being,")); //6 break; } } } int EphesiansSixTen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Ephesians 6:10")); // Finally, be strong in the Lord and in the strength of his might. lcd.setCursor(0,1); if(ScrollNum >= 6) //16,15 = 2 14,13 = 1 12,11 = 1 10,9 = 0 8,7 = 0 6,5 = 1 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("Finally, be")); //11 break; case 2: lcd.setCursor(1,1); lcd.print(F("strong in the")); //13 break; case 3: lcd.print(F("Lord and in the")); //15 break; case 4: lcd.print(F("strength of his")); //15 break; case 5: lcd.setCursor(5,1); lcd.print(F("might.")); //6 break; } } } int EphesiansSixThirteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Ephesians 6:13")); //Therefore take up the whole armor of God, that you may be able to withstand in the evil day, and having done all, to stand firm. lcd.setCursor(1,1); if(ScrollNum >= 10) //16,15 = 3 14,13 = 4 12,11 = 1 10,9 = 0 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("Therefore take")); //14 break; case 2: lcd.setCursor(2,1); lcd.print(F("up the whole")); //12 break; case 3: lcd.print(F("armor of God,")); //13 break; case 4: lcd.setCursor(0,1); lcd.print(F("that you may be")); //15 break; case 5: lcd.setCursor(4,1); lcd.print(F("able to")); //7 break; case 6: lcd.setCursor(0,1); lcd.print(F("withstand in the")); //16 break; case 7: lcd.print(F("evil day, and")); //13 break; case 8: lcd.setCursor(0,1); lcd.print(F("having done all,")); //16 break; case 9: lcd.print(F("to stand firm.")); //14 break; } } } int ExodusFifteenTwo() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Exodus 15:2")); // The Lord is my strength and my song, and he has become my salvation; this is my God, lcd.setCursor(0,1); if(ScrollNum >= 11) // and I will praise him, my father's God, and I will exalt him. { //16,15 = 7 14,13 = 1 12,11 = 0 10,9 = 1 8,7 = 0 6,5 = 0 4,3 = 1 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("The Lord is my")); //14 break; case 2: lcd.print(F("strength and my")); //15 break; case 3: lcd.print(F("song, and he has")); //16 break; case 4: lcd.setCursor(3,1); lcd.print(F("become my")); //9 break; case 5: lcd.print(F("salvation; this")); //15 break; case 6: lcd.print(F("is my God, and I")); //16 break; case 7: lcd.print(F("will praise him,")); //16 break; case 8: lcd.print(F("my father's God,")); //16 break; case 9: lcd.print(F("and I will exalt")); //16 break; case 10: lcd.setCursor(6,1); lcd.print(F("him.")); //4 break; } } } int HabakkukThreeNineteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Habakkuk 3:19")); // God, the Lord, is my strength; he makes my feet like the deer's; he makes me tread on my high places. To the choirmaster: with stringed instruments. lcd.setCursor(0,1); if(ScrollNum >= 11) //16,15 = 4 14,13 = 3 12,11 = 3 10,9 = 0 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("God, the Lord,")); //14 break; case 2: lcd.print(F("is my strength;")); //15 break; case 3: lcd.print(F("he makes my feet")); //16 break; case 4: lcd.print(F("like the deer's;")); //16 break; case 5: lcd.setCursor(2,1); lcd.print(F("he makes me")); //11 break; case 6: lcd.print(F("tread on my high")); //16 break; case 7: lcd.setCursor(1,1); lcd.print(F("places. To the")); //14 break; case 8: lcd.setCursor(2,1); lcd.print(F("choirmaster:")); //12 break; case 9: lcd.setCursor(1,1); lcd.print(F("with stringed")); //13 break; case 10: lcd.setCursor(2,1); lcd.print(F("instruments.")); //12 break; } } } int HebrewsThirteenSix() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Hebrews 13:6")); // So we can confidently say, “The Lord is my helper; I will not fear; what can man do to me?” lcd.setCursor(1,1); if(ScrollNum >= 8) //16,15 = 2 14,13 = 3 12,11 = 0 10,9 = 1 8,7 = 0 6,5 = 0 4,3 = 1 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(3,1); lcd.print(F("So we can")); //9 break; case 2: lcd.setCursor(0,1); lcd.print(F("confidently say,")); //16 break; case 3: lcd.setCursor(0,1); lcd.print(F("\"The Lord is my")); //15 break; case 4: lcd.print(F("helper; I will")); //14 break; case 5: lcd.print(F("not fear; what")); //14 break; case 6: lcd.print(F("can man do to")); //13 break; case 7: lcd.setCursor(6,1); lcd.print(F("me?\"")); //4 break; } } } int IsaiahFortyThirtyOne() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Isaiah 40:31")); // but they who wait for the Lord shall renew their strength; they shall mount up lcd.setCursor(2,1); if(ScrollNum >= 13) // with wings like eagles; they shall run and not be weary; they shall walk and not faint. { //16,15 = 3 14,13 = 2 12,11 = 4 10,9 = 3 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("but they who")); //12 break; case 2: lcd.print(F("wait for the")); //12 break; case 3: lcd.setCursor(0,1); lcd.print(F("Lord shall renew")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("their strength;")); //15 break; case 5: lcd.setCursor(0,1); lcd.print(F("they shall mount")); //16 break; case 6: lcd.setCursor(1,1); lcd.print(F("up with wings")); //13 break; case 7: lcd.print(F("like eagles;")); //12 break; case 8: lcd.setCursor(1,1); lcd.print(F("they shall run")); //14 break; case 9: lcd.setCursor(3,1); lcd.print(F("and not be")); //10 break; case 10: lcd.print(F("weary; they")); //11 break; case 11: lcd.setCursor(1,1); lcd.print(F("shall walk and")); //14 break; case 12: lcd.setCursor(3,1); lcd.print(F("not faint.")); //10 break; } } } int IsaiahFortyOneTen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Isaiah 41:10")); // fear not, for I am with you; be not dismayed, for I am your God; I will strengthen you, I will help you, I will uphold you with my righteous right hand. lcd.setCursor(0,1); if(ScrollNum >= 12) //16,15 = 5 14,13 = 3 12,11 = 2 10,9 = 0 8,7 = 0 6,5 = 1 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("fear not, for I")); //15 break; case 2: lcd.print(F("am with you; be")); //15 break; case 3: lcd.setCursor(1,1); lcd.print(F("not dismayed,")); //13 break; case 4: lcd.setCursor(1,1); lcd.print(F("for I am your")); //13 break; case 5: lcd.setCursor(2,1); lcd.print(F("God; I will")); //11 break; case 6: lcd.print(F("strengthen you,")); //15 break; case 7: lcd.print(F("I will help you,")); //16 break; case 8: lcd.setCursor(1,1); lcd.print(F("I will uphold")); //13 break; case 9: lcd.setCursor(2,1); lcd.print(F("you with my")); //11 break; case 10: lcd.print(F("righteous right")); //15 break; case 11: lcd.setCursor(5,1); lcd.print(F("hand.")); //5 break; } } } int IsaiahFortyOneThirteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Isaiah 41:13")); // For I, the Lord your God, hold your right hand; it is I who say to you, “Fear not, I am the one who helps you.” lcd.setCursor(1,1); if(ScrollNum >= 9) //16,15 = 3 14,13 = 4 12,11 = 0 10,9 = 0 8,7 = 0 6,5 = 1 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("For I, the Lord")); //15 break; case 2: lcd.print(F("your God, hold")); //14 break; case 3: lcd.setCursor(0,1); lcd.print(F("your right hand;")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("it is I who say")); //15 break; case 5: lcd.print(F("to you, \"Fear")); //14 break; case 6: lcd.print(F("not, I am the")); //13 break; case 7: lcd.print(F("one who helps")); //13 break; case 8: lcd.setCursor(5,1); lcd.print(F("you.\"")); //5 break; } } } int IsaiahFortyTwoThree() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Isaiah 42:3")); // a bruised reed he will not break, and a faintly burning wick he will not quench; he will faithfully bring forth justice. lcd.setCursor(0,1); if(ScrollNum >= 9) //16,15 = 4 14,13 = 2 12,11 = 2 10,9 = 0 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("a bruised reed")); //14 break; case 2: lcd.setCursor(2,1); lcd.print(F("he will not")); //11 break; case 3: lcd.setCursor(2,1); lcd.print(F("break, and a")); //12 break; case 4: lcd.print(F("faintly burning")); //15 HADOOOOKEN! break; case 5: lcd.print(F("wick he will not")); //16 GNNNNNNNNNNNNNNNN! break; case 6: lcd.print(F("quench; he will")); //15 break; case 7: lcd.print(F("faithfully bring")); //15 break; case 8: lcd.setCursor(1,1); lcd.print(F("forth justice.")); //14 break; } } } int IsaiahFortyThreeTwo() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Isaiah 43:2")); // When you pass through the waters, I will be with you; and through the rivers, they shall not overwhelm you; lcd.setCursor(2,1); if(ScrollNum >= 15) // when you walk through fire you shall not be burned, and the flame shall not consume you. { //16,15 = 4 14,13 = 4 12,11 = 5 10,9 = 1 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("When you pass")); //13 break; case 2: lcd.print(F("through the")); //11 break; case 3: lcd.setCursor(1,1); lcd.print(F("waters, I will")); //14 break; case 4: lcd.setCursor(0,1); lcd.print(F("be with you; and")); //16 break; case 5: lcd.print(F("through the")); //11 break; case 6: lcd.print(F("rivers, they")); //12 break; case 7: lcd.setCursor(3,1); lcd.print(F("shall not")); //9 break; case 8: lcd.setCursor(1,1); lcd.print(F("overwhelm you;")); //14 break; case 9: lcd.setCursor(2,1); lcd.print(F("when you walk")); //13 break; case 10: lcd.setCursor(0,1); lcd.print(F("through fire you")); //16 break; case 11: lcd.print(F("shall not be")); //12 break; case 12: lcd.setCursor(0,1); lcd.print(F("burned, and the")); //15 break; case 13: lcd.setCursor(0,1); lcd.print(F("flame shall not")); //15 break; case 14: lcd.print(F("consume you.")); //12 break; } } } int IsaiahSixtySixThirteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Isaiah 66:13")); // As one whom his mother comforts, so I will comfort you; you shall be comforted in Jerusalem. lcd.setCursor(0,1); if(ScrollNum >= 8) //16,15 = 3 14,13 = 0 12,11 = 1 10,9 = 2 8,7 = 1 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("As one whom his")); //15 break; case 2: lcd.print(F("mother comforts,")); //16 break; case 3: lcd.setCursor(3,1); lcd.print(F("so I will")); //9 break; case 4: lcd.print(F("comfort you; you")); //16 break; case 5: lcd.setCursor(4,1); lcd.print(F("shall be")); //8 break; case 6: lcd.setCursor(2,1); lcd.print(F("comforted in")); //12 break; case 7: lcd.setCursor(3,1); lcd.print(F("Jerusalem.")); //10 break; } } } int JeremiahTwentyNineEleven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Jeremiah 29:11")); //For I know the plans I have for you, declares the Lord, plans for welfare and not for evil, to give you a future and a hope. lcd.setCursor(0,1); if(ScrollNum >= 10) //16,15 = 4 14,13 = 2 12,11 = 1 10,9 = 1 8,7 = 0 6,5 = 1 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("For I know the")); //14 break; case 2: lcd.print(F("plans I have for")); //16 break; case 3: lcd.setCursor(2,1); lcd.print(F("you, declares")); //13 break; case 4: lcd.print(F("the Lord, plans")); //15 break; case 5: lcd.print(F("for welfare and")); //15 break; case 6: lcd.print(F("not for evil, to")); //16 break; case 7: lcd.setCursor(3,1); lcd.print(F("give you a")); //10 break; case 8: lcd.setCursor(2,1); lcd.print(F("future and a")); //12 break; case 9: lcd.setCursor(5,1); lcd.print(F("hope.")); //5 break; } } } int JeremiahThirtyOneThirteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Jeremiah 31:13")); // Then shall the young women rejoice in the dance, and the young men and the old shall be merry. lcd.setCursor(1,1); if(ScrollNum >= 15) // I will turn their mourning into joy; I will comfort them, and give them gladness for sorrow. { //16,15 = 1 14,13 = 8 12,11 = 3 10,9 = 1 8,7 = 1 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("Then shall the")); //14 break; case 2: lcd.setCursor(2,1); lcd.print(F("young women")); //11 break; case 3: lcd.print(F("rejoice in the")); //14 break; case 4: lcd.print(F("dance, and the")); //14 break; case 5: lcd.print(F("young men and")); //13 break; case 6: lcd.setCursor(0,1); lcd.print(F("the old shall be")); //16 break; case 7: lcd.print(F("merry. I will")); //13 break; case 8: lcd.setCursor(3,1); lcd.print(F("turn their")); //10 break; case 9: lcd.print(F("mourning into")); //13 break; case 10: lcd.setCursor(2,1); lcd.print(F("joy; I will")); //11 break; case 11: lcd.print(F("comfort them,")); //13 break; case 12: lcd.print(F("and give them")); //13 break; case 13: lcd.setCursor(2,1); lcd.print(F("gladness for")); //12 break; case 14: lcd.setCursor(4,1); lcd.print(F("sorrow.")); //7 break; } } } int JeremaihThirtyTwoSeventeen() //function and supporting code is 364 bytes { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Jeremiah 32:17")); // ‘Ah, Lord God! It is you who have made the heavens and the earth by your great power and by your outstretched arm! Nothing is too hard for you. lcd.setCursor(1,1); if(ScrollNum >= 12) //16,15 = 3 14,13 = 4 12,11 = 2 10,9 = 0 8,7 = 1 6,5 = 0 4,3 = 1 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("'Ah, Lord God!")); //14 break; case 2: lcd.print(F("It is you who")); //13 break; case 3: lcd.print(F("have made the")); //13 break; case 4: lcd.setCursor(0,1); lcd.print(F("heavens and the")); //15 break; case 5: lcd.print(F("earth by your")); //13; break; case 6: lcd.setCursor(0,1); lcd.print(F("great power and")); //15 break; case 7: lcd.setCursor(4,1); lcd.print(F("by your")); //7 break; case 8: lcd.setCursor(2,1); lcd.print(F("outstretched")); //12 break; case 9: lcd.setCursor(0,1); lcd.print(F("arm! Nothing is")); //15 break; case 10: lcd.setCursor(2,1); lcd.print(F("too hard for")); //12 break; case 11: lcd.setCursor(6,1); lcd.print(F("you.")); //4 break; } } } int OneJohnFiveFourteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("1 John 5:14")); // And this is the confidence that we have toward him, that if we ask anything according to his will he hears us. lcd.setCursor(0,1); if(ScrollNum >= 9) //16,15 = 4 14,13 = 2 12,11 = 1 10,9 = 0 8,7 = 0 6,5 = 0 4,3 = 1 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("And this is the")); //15 break; case 2: lcd.print(F("confidence that")); //15 break; case 3: lcd.setCursor(1,1); lcd.print(F("we have toward")); //14 break; case 4: lcd.print(F("him, that if we")); //15 break; case 5: lcd.setCursor(2,1); lcd.print(F("ask anything")); //12 break; case 6: lcd.print(F("according to his")); //16 break; case 7: lcd.setCursor(1,1); lcd.print(F("will he hears")); //13 break; case 8: lcd.setCursor(6,1); lcd.print(F("us.")); //3 break; } } } int JohnSixThirtySeven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("John 3:37")); // All those the Father gives me will come to me, and whoever comes to me I will never drive away. lcd.setCursor(0,1); if(ScrollNum >= 8) //16,15 = 3 14,13 = 2 12,11 = 1 10,9 = 0 8,7 = 0 6,5 = 1 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("All those the")); //13 break; case 2: lcd.print(F("Father gives me")); //15 break; case 3: lcd.print(F("will come to me,")); //16 break; case 4: lcd.setCursor(2,1); lcd.print(F("and whoever")); //11 break; case 5: lcd.setCursor(1,1); lcd.print(F("comes to me I")); //13 break; case 6: lcd.print(F("will never drive")); //16 break; case 7: lcd.setCursor(5,1); lcd.print(F("away.")); //5 break; } } } int JohnSixFortySeven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("John 6:47")); // Very truly I tell you, the one who believes has eternal life. lcd.setCursor(2,1); if(ScrollNum >= 6) //16,15 = 1 14,13 = 1 12,11 = 2 10,9 = 0 8,7 = 0 6,5 = 1 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("Very truly I")); //12 break; case 2: lcd.setCursor(1,1); lcd.print(F("tell you, the")); //13 break; case 3: lcd.setCursor(0,1); lcd.print(F("one who believes")); //16 break; case 4: lcd.print(F("has eternal")); //11 break; case 5: lcd.setCursor(5,1); lcd.print(F("life.")); //5 break; } } } int JohnFourteenTwentySeven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("John 14:27")); // Peace I leave with you; my peace I give to you. Not as the world gives do I give to you. Let not your hearts be troubled, neither let them be afraid. lcd.setCursor(0,1); if(ScrollNum >= 11) //16,15 = 6 14,13 = 1 12,11 = 2 10,9 = 1 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("Peace I leave")); //13 break; case 2: lcd.setCursor(2,1); lcd.print(F("with you; my")); //12 break; case 3: lcd.print(F("peace I give to")); //15 break; case 4: lcd.print(F("you. Not as the")); //15 break; case 5: lcd.print(F("world gives do I")); //16 break; case 6: lcd.print(F("give to you. Let")); //16 break; case 7: lcd.print(F("not your hearts")); //15 break; case 8: lcd.setCursor(2,1); lcd.print(F("be troubled,")); //12 break; case 9: lcd.print(F("neither let them")); //16 break; case 10: lcd.setCursor(3,1); lcd.print(F("be afraid.")); //10 break; } } } int JohnFifteenThirteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("John 15:13")); // Greater love has no one than this, that someone lay down his life for his friends. lcd.setCursor(0,1); if(ScrollNum >= 7) //16,15 = 3 14,13 = 0 12,11 = 1 10,9 = 1 8,7 = 1 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("Greater love has")); //16 break; case 2: lcd.setCursor(2,1); lcd.print(F("no one than")); //11 break; case 3: lcd.setCursor(3,1); lcd.print(F("this, that")); //10 break; case 4: lcd.print(F("someone lay down")); //16 break; case 5: lcd.print(F("his life for his")); //16 break; case 6: lcd.setCursor(4,1); lcd.print(F("friends.")); //8 break; } } } int JohnFifteenEighteenNineteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("John 15:18-19")); // “If the world hates you, keep in mind that it hated me first. If you belonged to the world, it would love you as its own. lcd.setCursor(0,1); if(ScrollNum >= 17) // As it is, you do not belong to the world, but I have chosen you out of the world. That is why the world hates you. { //16,15 = 8 14,13 = 5 12,11 = 0 10,9 = 3 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("\"If the world")); //13 break; case 2: lcd.print(F("hates you, keep")); //15 break; case 3: lcd.print(F("in mind that it")); //15 break; case 4: lcd.print(F("hated me first.")); //15 break; case 5: lcd.print(F("If you belonged")); //15 break; case 6: lcd.print(F("to the world, it")); //16 break; case 7: lcd.setCursor(1,1); lcd.print(F("would love you")); //14 break; case 8: lcd.setCursor(1,1); lcd.print(F("as its own. As")); //14 break; case 9: lcd.setCursor(3,1); lcd.print(F("it is, you")); //10 break; case 10: lcd.print(F("do not belong to")); //16 break; case 11: lcd.print(F("the world, but I")); //16 break; case 12: lcd.print(F("have chosen you")); //15 break; case 13: lcd.setCursor(3,1); lcd.print(F("out of the")); //10 break; case 14: lcd.setCursor(1,1); lcd.print(F("world. That is")); //14 break; case 15: lcd.setCursor(1,1); lcd.print(F("why the world")); //13 break; case 16: lcd.setCursor(3,1); lcd.print(F("hates you.")); //10 break; } } } int JohnSixteenThirtyThree() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("John 16:33")); // “I have told you these things, so that in me you may have peace. In this world you will have trouble. But take heart! I have overcome the world.” lcd.setCursor(1,1); if(ScrollNum >= 11) //16,15 = 3 14,13 = 5 12,11 = 2 10,9 = 0 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("\"I have told you")); //16 break; case 2: lcd.setCursor(0,1); lcd.print(F("these things, so")); //16 break; case 3: lcd.print(F("that in me you")); //14 break; case 4: lcd.setCursor(0,1); lcd.print(F("may have peace.")); //15 break; case 5: lcd.print(F("In this world")); //13 break; case 6: lcd.print(F("you will have")); //13 break; case 7: lcd.setCursor(2,1); lcd.print(F("trouble. But")); //12 break; case 8: lcd.print(F("take heart! I")); //13 break; case 9: lcd.print(F("have overcome")); //13 break; case 10: lcd.setCursor(2,1); lcd.print(F("the world.\"")); //11 break; } } } int JoshuaOneNine() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("Joshua 1:9")); // Have I not commanded you? Be strong and courageous. Do not be afraid; do not be discouraged, for the Lord your God will be with you wherever you go.” lcd.setCursor(1,1); if(ScrollNum >= 12) //16,15 = 3 14,13 = 5 12,11 = 2 10,9 = 0 8,7 = 0 6,5 = 0 4,3 = 1 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(3,1); lcd.print(F("Have I not")); //10 break; case 2: lcd.print(F("commanded you?")); //14 break; case 3: lcd.print(F("Be strong and")); //13 break; case 4: lcd.print(F("courageous. Do")); //14 break; case 5: lcd.print(F("not be afraid;")); //14 break; case 6: lcd.setCursor(3,1); lcd.print(F("do not be")); //9 break; case 7: lcd.setCursor(0,1); lcd.print(F("discouraged, for")); //16 break; case 8: lcd.print(F("the Lord your")); //13 break; case 9: lcd.setCursor(0,1); lcd.print(F("God will be with")); //16 break; case 10: lcd.setCursor(0,1); lcd.print(F("you wherever you")); //16 break; case 11: lcd.setCursor(6,1); lcd.print(F("go.\"")); //4 break; } } } int MarkTenTwentySeven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("Mark 10:27")); // Jesus looked at them and said, “With man this is impossible, but not with God; all things are possible with God.” if(ScrollNum >= 9) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("Jesus looked at")); //15 break; case 2: lcd.setCursor(1,1); lcd.print(F("them and said,")); //14 break; case 3: lcd.setCursor(1,1); lcd.print(F("\"With man this")); //14 break; case 4: lcd.setCursor(1,1); lcd.print(F("is impossible,")); //14 break; case 5: lcd.setCursor(2,1); lcd.print(F("but not with")); //12 break; case 6: lcd.setCursor(0,1); lcd.print(F("God; all things")); //15 break; case 7: lcd.setCursor(2,1); lcd.print(F("are possible")); //12 break; case 8: lcd.setCursor(3,1); lcd.print(F("with God.\"")); //10 break; } } } int MatthewFiveFourteenSixteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Matthew 5:14-16")); // “You are the light of the world. A city set on a hill cannot be hidden. Nor do people light a lamp and put it under a basket, if(ScrollNum >= 24) // but on a stand, and it gives light to all in the house. In the same way, let your light shine before others, { // so that they may see your good works and give glory to your Father who is in heaven. ScrollNum = 0; //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("\"You are the")); //12 break; case 2: lcd.setCursor(2,1); lcd.print(F("light of the")); //12 break; case 3: lcd.setCursor(1,1); lcd.print(F("world. A city")); //13 break; case 4: lcd.setCursor(1,1); lcd.print(F("set on a hill")); //13 break; case 5: lcd.setCursor(3,1); lcd.print(F("cannot be")); //9 break; case 6: lcd.setCursor(1,1); lcd.print(F("hidden. Nor do")); //14 break; case 7: lcd.setCursor(1,1); lcd.print(F("people light a")); //14 break; case 8: lcd.setCursor(0,1); lcd.print(F("lamp and put it")); //15 break; case 9: lcd.setCursor(0,1); lcd.print(F("under a basket,")); //15 break; case 10: lcd.setCursor(0,1); lcd.print(F("but on a stand,")); //15 break; case 11: lcd.setCursor(2,1); lcd.print(F("and it gives")); //12 break; case 12: lcd.setCursor(0,1); lcd.print(F("light to all in")); //15 break; case 13: lcd.setCursor(1,1); lcd.print(F("the house. In")); //13 break; case 14: lcd.setCursor(1,1); lcd.print(F("the same way,")); //13 break; case 15: lcd.setCursor(1,1); lcd.print(F("let your light")); //14 break; case 16: lcd.setCursor(2,1); lcd.print(F("shine before")); //12 break; case 17: lcd.setCursor(0,1); lcd.print(F("others, so that")); //15 break; case 18: lcd.setCursor(2,1); lcd.print(F("they may see")); //12 break; case 19: lcd.setCursor(0,1); lcd.print(F("your good works")); //15 break; case 20: lcd.setCursor(1,1); lcd.print(F("and give glory")); //14 break; case 21: lcd.setCursor(1,1); lcd.print(F("to your Father")); //14 break; case 22: lcd.setCursor(3,1); lcd.print(F("who is in")); //9 break; case 23: lcd.setCursor(4,1); lcd.print(F("heaven.")); //7 break; } } } int MatthewSevenSeven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Matthew 7:7")); // “Ask, and it will be given to you; seek, and you will find; knock, and it will be opened to you. if(ScrollNum >= 8) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("\"Ask, and it")); //12 break; case 2: lcd.setCursor(0,1); lcd.print(F("will be given to")); //16 break; case 3: lcd.setCursor(1,1); lcd.print(F("you; seek, and")); //14 break; case 4: lcd.setCursor(1,1); lcd.print(F("you will find;")); //14 break; case 5: lcd.setCursor(1,1); lcd.print(F("knock, and it")); //13 break; case 6: lcd.setCursor(1,1); lcd.print(F("will be opened")); //14 break; case 7: lcd.setCursor(4,1); lcd.print(F("to you.")); //7 break; } } } int MatthewElevenTwentyEightTwentyNine() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Matthew 11:28-29")); // Come to me, all who labor and are heavy laden, and I will give you rest. if(ScrollNum >= 14) // Take my yoke upon you, and learn from me, for I am gentle and lowly in heart, and you will find rest for your souls. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("Come to me, all")); //15 break; case 2: lcd.setCursor(1,1); lcd.print(F("who labor and")); //13 break; case 3: lcd.setCursor(0,1); lcd.print(F("are heavy laden,")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("and I will give")); //15 break; case 5: lcd.setCursor(1,1); lcd.print(F("you rest. Take")); //14 break; case 6: lcd.setCursor(2,1); lcd.print(F("my yoke upon")); //12 break; case 7: lcd.setCursor(1,1); lcd.print(F("you, and learn")); //14 break; case 8: lcd.setCursor(1,1); lcd.print(F("from me, for I")); //14 break; case 9: lcd.setCursor(1,1); lcd.print(F("am gentle and")); //13 break; case 10: lcd.setCursor(0,1); lcd.print(F("lowly in heart,")); //15 break; case 11: lcd.setCursor(2,1); lcd.print(F("and you will")); //12 break; case 12: lcd.setCursor(1,1); lcd.print(F("find rest for")); //13 break; case 13: lcd.setCursor(2,1); lcd.print(F("your souls.")); //11 break; } } } int NahumOneSeven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("Nahum 1:7")); //The Lord is good, a stronghold in the day of trouble; he knows those who take refuge in him. if(ScrollNum >= 9) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("The Lord is")); //11 break; case 2: lcd.setCursor(4,1); lcd.print(F("good, a")); //7 break; case 3: lcd.setCursor(1,1); lcd.print(F("stronghold in")); //13 break; case 4: lcd.setCursor(3,1); lcd.print(F("the day of")); //10 break; case 5: lcd.setCursor(2,1); lcd.print(F("trouble; he")); //11 break; case 6: lcd.setCursor(0,1); lcd.print(F("knows those who")); //15 break; case 7: lcd.setCursor(1,1); lcd.print(F("take refuge in")); //14 break; case 8: lcd.setCursor(6,1); lcd.print(F("him.")); //4 break; } } } int NehemiahEightTen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Nehemiah 8:10")); // Then he said to them, “Go your way. Eat the fat and drink sweet wine and send portions to anyone who has nothing if(ScrollNum >= 16) // ready, for this day is holy to our Lord. And do not be grieved, for the joy of the Lord is your strength.” { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("Then he said to")); //15 break; case 2: lcd.setCursor(1,1); lcd.print(F("them, \"Go your")); //14 break; case 3: lcd.setCursor(0,1); lcd.print(F("way. Eat the fat")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("and drink sweet")); //15 break; case 5: lcd.setCursor(1,1); lcd.print(F("wine and send")); //13 break; case 6: lcd.setCursor(2,1); lcd.print(F("portions to")); //11 break; case 7: lcd.setCursor(1,1); lcd.print(F("anyone who has")); //14 break; case 8: lcd.setCursor(1,1); lcd.print(F("nothing ready,")); //14 break; case 9: lcd.setCursor(0,1); lcd.print(F("for this day is")); //15 break; case 10: lcd.setCursor(2,1); lcd.print(F("holy to our")); //11 break; case 11: lcd.setCursor(0,1); lcd.print(F("Lord. And do not")); //16 break; case 12: lcd.setCursor(0,1); lcd.print(F("be grieved, for")); //15 break; case 13: lcd.setCursor(1,1); lcd.print(F("the joy of the")); //14 break; case 14: lcd.setCursor(2,1); lcd.print(F("Lord is your")); //12 break; case 15: lcd.setCursor(3,1); lcd.print(F("strength.\"")); //10 break; } } } int OnePeterFiveSixSeven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("1 Peter 5:6-7")); // Humble yourselves, therefore, under the mighty hand of God so that at the proper time he if(ScrollNum >= 13) // may exalt you, casting all your anxieties on him, because he cares for you. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(5,1); lcd.print(F("Humble")); //6 break; case 2: lcd.setCursor(2,1); lcd.print(F("yourselves,")); //11 break; case 3: lcd.setCursor(0,1); lcd.print(F("therefore, under")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("the mighty hand")); //15 break; case 5: lcd.setCursor(1,1); lcd.print(F("of God so that")); //14 break; case 6: lcd.setCursor(1,1); lcd.print(F("at the proper")); //13 break; case 7: lcd.setCursor(2,1); lcd.print(F("time he may")); //11 break; case 8: lcd.setCursor(3,1); lcd.print(F("exalt you,")); //10 break; case 9: lcd.setCursor(0,1); lcd.print(F("casting all your")); //16 break; case 10: lcd.setCursor(2,1); lcd.print(F("anxieties on")); //12 break; case 11: lcd.setCursor(0,1); lcd.print(F("him, because he")); //15 break; case 12: lcd.setCursor(1,1); lcd.print(F("cares for you.")); //14 break; } } } int PhillipiansFourThirteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Phillipians 4:13")); // I can do all this through him who gives me strength. if(ScrollNum >= 5) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("I can do all")); //12 break; case 2: lcd.setCursor(0,1); lcd.print(F("this through him")); //16 break; case 3: lcd.setCursor(2,1); lcd.print(F("who gives me")); //12 break; case 4: lcd.setCursor(3,1); lcd.print(F("strength.")); //9 break; } } } int ProverbsThreeFiveSix() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Proverbs 3:5-6")); // Trust in the Lord with all your heart, and do not lean on your own understanding. if(ScrollNum >= 12){ // In all your ways acknowledge him, and he will make straight your paths. ScrollNum = 0; //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("Trust in the")); //12 break; case 2: lcd.setCursor(1,1); lcd.print(F("Lord with all")); //13 break; case 3: lcd.setCursor(1,1); lcd.print(F("your heart and")); //14 break; case 4: lcd.setCursor(1,1); lcd.print(F("do not lean on")); //14 break; case 5: lcd.setCursor(4,1); lcd.print(F("your own")); //8 break; case 6: lcd.setCursor(1,1); lcd.print(F("understanding.")); //14 break; case 7: lcd.setCursor(0,1); lcd.print(F("In all your ways")); //16 break; case 8: lcd.setCursor(0,1); lcd.print(F("acknowledge him,")); //16 break; case 9: lcd.setCursor(0,1); lcd.print(F("and he will make")); //16 break; case 10: lcd.setCursor(1,1); lcd.print(F("straight your")); //13 break; case 11: lcd.setCursor(5,1); lcd.print(F("paths.")); //6 break; } } } int ProverbsEighteenTen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Proverbs 18:10")); // The name of the Lord is a strong tower; the righteous man runs into it and is safe. if(ScrollNum >= 7) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("The name of the")); //15 break; case 2: lcd.setCursor(3,1); lcd.print(F("Lord is a")); //9 break; case 3: lcd.setCursor(1,1); lcd.print(F("strong tower;")); //13 break; case 4: lcd.setCursor(1,1); lcd.print(F("the righteous")); //13 break; case 5: lcd.setCursor(0,1); lcd.print(F("man runs into it")); //16 break; case 6: lcd.setCursor(2,1); lcd.print(F("and is safe.")); //12 break; } } } int ProverbsTwentyTwentyTwo() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Proverbs 20:22")); // Do not say, “I will repay evil”; wait for the Lord, and he will deliver you. if(ScrollNum >= 7) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("Do not say,")); //11 break; case 2: lcd.setCursor(1,1); lcd.print(F("\"I will repay")); //13 break; case 3: lcd.setCursor(0,1); lcd.print(F("evil\"; wait for")); //15 break; case 4: lcd.setCursor(0,1); lcd.print(F("the Lord, and he")); //16 break; case 5: lcd.setCursor(2,1); lcd.print(F("will deliver")); //12 break; case 6: lcd.setCursor(6,1); lcd.print(F("you.")); //4 break; } } } int PsalmsNineNine() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("Psalms 9:9")); // The Lord is a stronghold for the oppressed, a stronghold in times of trouble. if(ScrollNum >= 7) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("The Lord is a")); //13 break; case 2: lcd.setCursor(1,1); lcd.print(F("stronghold for")); //14 break; case 3: lcd.setCursor(1,1); lcd.print(F("the oppressed,")); //14 break; case 4: lcd.setCursor(0,1); lcd.print(F("a stronghold in")); //15 break; case 5: lcd.setCursor(4,1); lcd.print(F("times of")); //8 break; case 6: lcd.setCursor(4,1); lcd.print(F("trouble.")); //8 break; } } } int PsalmsTenFourteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 10:14")); // But you do see, for you note mischief and vexation, that you may take it into your hands; if(ScrollNum >= 13) // to you the helpless commits himself; you have been the helper of the fatherless. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("But you do see,")); //15 break; case 2: lcd.setCursor(2,1); lcd.print(F("for you note")); //12 break; case 3: lcd.setCursor(2,1); lcd.print(F("mischief and")); //12 break; case 4: lcd.setCursor(1,1); lcd.print(F("vexation, that")); //14 break; case 5: lcd.setCursor(0,1); lcd.print(F("you may take it")); //15 break; case 6: lcd.setCursor(0,1); lcd.print(F("into your hands;")); //16 break; case 7: lcd.setCursor(3,1); lcd.print(F("to you the")); //10 break; case 8: lcd.setCursor(0,1); lcd.print(F("helpless commits")); //16 break; case 9: lcd.setCursor(2,1); lcd.print(F("himself; you")); //12 break; case 10: lcd.setCursor(1,1); lcd.print(F("have been the")); //13 break; case 11: lcd.setCursor(1,1); lcd.print(F("helper of the")); //13 break; case 12: lcd.setCursor(2,1); lcd.print(F("fatherless.")); //11 break; } } } int PsalmsSixteenEight() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 16:8")); // I have set the Lord always before me; because he is at my right hand, I shall not be shaken. if(ScrollNum >= 8) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("I have set the")); //14 break; case 2: lcd.setCursor(2,1); lcd.print(F("Lord always")); //11 break; case 3: lcd.setCursor(3,1); lcd.print(F("before me;")); //10 break; case 4: lcd.setCursor(0,1); lcd.print(F("because he is at")); //16 break; case 5: lcd.setCursor(0,1); lcd.print(F("my right hand, I")); //16 break; case 6: lcd.setCursor(2,1); lcd.print(F("shall not be")); //12 break; case 7: lcd.setCursor(4,1); lcd.print(F("shaken.")); //7 break; } } } int PsalmsTwentyThreeFour() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 23:4")); // Even though I walk through the valley of the shadow of death, I will fear no evil, if(ScrollNum >= 11) // for you are with me; your rod and your staff, they comfort me. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("Even though I")); //13 break; case 2: lcd.setCursor(0,1); lcd.print(F("walk through the")); //16 break; case 3: lcd.setCursor(1,1); lcd.print(F("valley of the")); //13 break; case 4: lcd.setCursor(0,1); lcd.print(F("shadow of death,")); //16 break; case 5: lcd.setCursor(1,1); lcd.print(F("I will fear no")); //14 break; case 6: lcd.setCursor(1,1); lcd.print(F("evil, for you")); //13 break; case 7: lcd.setCursor(2,1); lcd.print(F("are with me;")); //12 break; case 8: lcd.setCursor(2,1); lcd.print(F("your rod and")); //12 break; case 9: lcd.setCursor(0,1); lcd.print(F("your staff, they")); //16 break; case 10: lcd.setCursor(2,1); lcd.print(F("comfort me.")); //11 break; } } } int PsalmsTwentySevenFour() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 27:4")); // One thing have I asked of the Lord, that will I seek after: that I may dwell in the house of the Lord if(ScrollNum >= 15) // all the days of my life, to gaze upon the beauty of the Lord and to inquire in his temple. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("One thing have I")); //16 break; case 2: lcd.setCursor(2,1); lcd.print(F("asked of the")); //12 break; case 3: lcd.setCursor(0,1); lcd.print(F("Lord, that will")); //15 break; case 4: lcd.setCursor(1,1); lcd.print(F("I seek after:")); //13 break; case 5: lcd.setCursor(0,1); lcd.print(F("that I may dwell")); //16 break; case 6: lcd.setCursor(0,1); lcd.print(F("in the house of")); //15 break; case 7: lcd.setCursor(0,1); lcd.print(F("the Lord all the")); //16 break; case 8: lcd.setCursor(0,1); lcd.print(F("days of my life,")); //16 break; case 9: lcd.setCursor(0,1); lcd.print(F("to gaze upon the")); //16 break; case 10: lcd.setCursor(1,1); lcd.print(F("beauty of the")); //13 break; case 11: lcd.setCursor(2,1); lcd.print(F("Lord and to")); //11 break; case 12: lcd.setCursor(1,1); lcd.print(F("inquire in his")); //14 break; case 13: lcd.setCursor(4,1); lcd.print(F("temple.")); //7 break; } } } int PsalmsTwentySevenThirteenFourteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Psalms 27:13-14")); // I believe that I shall look upon the goodness of the Lord in the land of the living! if(ScrollNum >= 11) // Wait for the Lord; be strong, and let your heart take courage; wait for the Lord! { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("I believe that I")); //16 break; case 2: lcd.setCursor(0,1); lcd.print(F("shall look upon")); //15 break; case 3: lcd.setCursor(0,1); lcd.print(F("the goodness of")); //15 break; case 4: lcd.setCursor(0,1); lcd.print(F("the Lord in the")); //15 break; case 5: lcd.setCursor(0,1); lcd.print(F("living! Wait for")); //16 break; case 6: lcd.setCursor(2,1); lcd.print(F("the Lord; be")); //12 break; case 7: lcd.setCursor(0,1); lcd.print(F("strong, and let")); //15 break; case 8: lcd.setCursor(0,1); lcd.print(F("your heart take")); //15 break; case 9: lcd.setCursor(1,1); lcd.print(F("courage; wait")); //13 break; case 10: lcd.setCursor(1,1); lcd.print(F("for the Lord!")); //13 break; } } } int PsalmsThirtyFive() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 30:5")); // For his anger is but for a moment, and his favor is for a lifetime. if(ScrollNum >= 11) // Weeping may tarry for the night, but joy comes with the morning. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("For his anger is")); //16 break; case 2: lcd.setCursor(2,1); lcd.print(F("is but for a")); //12 break; case 3: lcd.setCursor(0,1); lcd.print(F("moment, and his")); //15 break; case 4: lcd.setCursor(1,1); lcd.print(F("favor is for a")); //14 break; case 5: lcd.setCursor(3,1); lcd.print(F("lifetime.")); //9 break; case 6: lcd.setCursor(2,1); lcd.print(F("Weeping may")); //11 break; case 7: lcd.setCursor(1,1); lcd.print(F("tarry for the")); //13 break; case 8: lcd.setCursor(1,1); lcd.print(F("night, but joy")); //14 break; case 9: lcd.setCursor(1,1); lcd.print(F("comes with the")); //14 break; case 10: lcd.setCursor(4,1); lcd.print(F("morning.")); //8 break; } } } int PsalmsThirtyTwoEight() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 32:8")); // I will instruct you and teach you in the way you should go; I will counsel you with my eye upon you. if(ScrollNum >= 15) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("I will instruct")); //15 break; case 2: lcd.setCursor(1,1); lcd.print(F("you and teach")); //13 break; case 3: lcd.setCursor(1,1); lcd.print(F("you in the way")); //14 break; case 4: lcd.setCursor(0,1); lcd.print(F("you should go; I")); //16 break; case 5: lcd.setCursor(0,1); lcd.print(F("will counsel you")); //16 break; case 6: lcd.setCursor(0,1); lcd.print(F("with my eye upon")); //16 break; case 7: lcd.setCursor(6,1); lcd.print(F("you.")); // break; } } } int PsalmsThirtyFourSix() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 34:6")); // This poor man cried, and the Lord heard him and saved him out of all his troubles. if(ScrollNum >= 7) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("This poor man")); //13 break; case 2: lcd.setCursor(1,1); lcd.print(F("cried, and the")); //14 break; case 3: lcd.setCursor(1,1); lcd.print(F("Lord heard him")); //14 break; case 4: lcd.setCursor(1,1); lcd.print(F("and saved him")); //13 break; case 5: lcd.setCursor(1,1); lcd.print(F("out of all his")); //14 break; case 6: lcd.setCursor(3,1); lcd.print(F("troubles.")); //9 break; } } } int PsalmsThirtyFourEight() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 34:8")); // Oh, taste and see that the Lord is good! Blessed is the man who takes refuge in him! if(ScrollNum >= 7) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("Oh, taste and")); //13 break; case 2: lcd.setCursor(2,1); lcd.print(F("see that the")); //12 break; case 3: lcd.setCursor(1,1); lcd.print(F("Lord is good!")); //13 break; case 4: lcd.setCursor(1,1); lcd.print(F("Blessed is the")); //14 break; case 5: lcd.setCursor(1,1); lcd.print(F("man who takes")); //13 break; case 6: lcd.setCursor(1,1); lcd.print(F("refuge in him!")); //14 break; } } } int PsalmsThirtyFourNineteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 34:19")); // Many are the afflictions of the righteous, but the Lord delivers him out of them all. if(ScrollNum >= 7) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("Many are the")); //12 break; case 2: lcd.setCursor(1,1); lcd.print(F("afflictions of")); //14 break; case 3: lcd.setCursor(1,1); lcd.print(F("the righteous,")); //14 break; case 4: lcd.setCursor(2,1); lcd.print(F("but the Lord")); //12 break; case 5: lcd.setCursor(0,1); lcd.print(F("delivers him out")); //16 break; case 6: lcd.setCursor(2,1); lcd.print(F("of them all.")); //12 break; } } } int PsalmsThirtySevenForty() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 37:40")); // The Lord helps them and delivers them; he delivers them from the wicked and saves them, because they take refuge in him. if(ScrollNum >= 10) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("The Lord helps")); //14 break; case 2: lcd.setCursor(4,1); lcd.print(F("them and")); //8 break; case 3: lcd.setCursor(1,1); lcd.print(F("delivers them;")); //14 break; case 4: lcd.setCursor(0,1); lcd.print(F("he delivers them")); //16 break; case 5: lcd.setCursor(0,1); lcd.print(F("from the wicked")); //15 break; case 6: lcd.setCursor(0,1); lcd.print(F("and saves them,")); //15 break; case 7: lcd.setCursor(2,1); lcd.print(F("because they")); //12 break; case 8: lcd.setCursor(1,1); lcd.print(F("take refuge in")); //14 break; case 9: lcd.setCursor(6,1); lcd.print(F("him.")); //4 break; } } } int PsalmsFortySixOne() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 46:1")); //God is our refuge and strength, a very present help in trouble. if(ScrollNum >= 6) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(3,1); lcd.print(F("God is our")); //10 break; case 2: lcd.setCursor(3,1); lcd.print(F("refuge and")); //10 break; case 3: lcd.setCursor(0,1); lcd.print(F("strength, a very")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("present help in")); //15 break; case 5: lcd.setCursor(4,1); lcd.print(F("trouble.")); //8 break; } } } int PsalmsFiftyFiveTwentyTwo() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 55:22")); // Cast your burden on the Lord, and he will sustain you; he will never permit the righteous to be moved. if(ScrollNum >= 8) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("Cast your burden")); //16 break; case 2: lcd.setCursor(0,1); lcd.print(F("on the Lord, and")); //16 break; case 3: lcd.setCursor(0,1); lcd.print(F("he will sustain")); //15 break; case 4: lcd.setCursor(2,1); lcd.print(F("you; he will")); //12 break; case 5: lcd.setCursor(0,1); lcd.print(F("never permit the")); //16 break; case 6: lcd.setCursor(0,1); lcd.print(F("righteous to be")); //15 break; case 7: lcd.setCursor(5,1); lcd.print(F("moved.")); //6 break; } } } int PsalmsFiftySevenThree() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 57:3")); // He will send from heaven and save me; he will put to shame him who tramples on me. Selah if(ScrollNum >= 13) // God will send out his steadfast love and his faithfulness! { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("He will send")); //12 break; case 2: lcd.setCursor(0,1); lcd.print(F("from heaven and")); //15 break; case 3: lcd.setCursor(0,1); lcd.print(F("save me; he will")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("put to shame him")); //16 break; case 5: lcd.setCursor(0,1); lcd.print(F("who tramples on")); //15 break; case 6: lcd.setCursor(6,1); lcd.print(F("me.")); //3 break; case 7: lcd.setCursor(5,1); lcd.print(F("Selah")); //5 break; case 8: lcd.setCursor(1,1); lcd.print(F("God will send")); //13 break; case 9: lcd.setCursor(4,1); lcd.print(F("out his")); //7 break; case 10: lcd.setCursor(1,1); lcd.print(F("steadfast love")); //14 break; case 11: lcd.setCursor(4,1); lcd.print(F("and his")); //7 break; case 12: lcd.setCursor(1,1); lcd.print(F("faithfulness!")); //13 break; } } } int PsalmsSixtyElevenTwelve() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Psalms 60:11-12")); //Oh, grant us help against the foe, for vain is the salvation of man! if(ScrollNum >= 11) // With God we shall do valiantly; it is he who will tread down our foes. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("Oh, grant us")); //12 break; case 2: lcd.setCursor(0,1); lcd.print(F("help against the")); //16 break; case 3: lcd.setCursor(0,1); lcd.print(F("foe, for vain is")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("the salvation of")); //16 break; case 5: lcd.setCursor(0,1); lcd.print(F("man! With God we")); //16 break; case 6: lcd.setCursor(4,1); lcd.print(F("shall do")); //8 break; case 7: lcd.setCursor(0,1); lcd.print(F("valiantly; it is")); //16 break; case 8: lcd.setCursor(2,1); lcd.print(F("he who will")); //11 break; case 9: lcd.setCursor(1,1); lcd.print(F("tread down our")); //14 break; case 10: lcd.setCursor(5,1); lcd.print(F("foes.")); //5 break; } } } int PsalmsSeventyOneTwentyTwentyOne() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Psalms 71:20-21")); // You who have made me see many troubles and calamities will revive me again; from the depths of the earth if(ScrollNum >= 14) // you will bring me up again. You will increase my greatness and comfort me again. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("You who have")); //12 break; case 2: lcd.setCursor(0,1); lcd.print(F("made me see many")); //16 break; case 3: lcd.setCursor(2,1); lcd.print(F("troubles and")); //12 break; case 4: lcd.setCursor(0,1); lcd.print(F("calamities will")); //15 break; case 5: lcd.setCursor(0,1); lcd.print(F("revive me again;")); //16 break; case 6: lcd.setCursor(0,1); lcd.print(F("from the depths")); //15 break; case 7: lcd.setCursor(0,1); lcd.print(F("of the earth you")); //16 break; case 8: lcd.setCursor(0,1); lcd.print(F("will bring me up")); //16 break; case 9: lcd.setCursor(0,1); lcd.print(F("again. You will")); //15 break; case 10: lcd.setCursor(2,1); lcd.print(F("increase my")); //11 break; case 11: lcd.setCursor(1,1); lcd.print(F("greatness and")); //13 break; case 12: lcd.setCursor(3,1); lcd.print(F("comfort me")); //10 break; case 13: lcd.setCursor(5,1); lcd.print(F("again.")); //6 break; } } } int PsalmsSeventyTwoTwelve() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 72:12")); // For he delivers the needy when he calls, the poor and him who has no helper. if(ScrollNum >= 6) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("For he delivers")); //15 break; case 2: lcd.setCursor(1,1); lcd.print(F("the needy when")); //14 break; case 3: lcd.setCursor(1,1); lcd.print(F("he calls, the")); //13 break; case 4: lcd.setCursor(0,1); lcd.print(F("poor and him who")); //16 break; case 5: lcd.setCursor(1,1); lcd.print(F("has no helper.")); //14 break; } } } int PsalmsSeventyThreeTwentySix() //16,15 = 3 14,13 = 2 12,11 = 1 10,9 = 0 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 73:26")); // My flesh and my heart may fail, but God is the strength of my heart and my portion forever. lcd.setCursor(0,1); if(ScrollNum >= 7) // { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.print(F("My flesh and my")); //15 break; case 2: lcd.print(F("heart may fail,")); //15 break; case 3: lcd.setCursor(1,1); lcd.print(F("but God is the")); //14 break; case 4: lcd.setCursor(1,1); lcd.print(F("strength of my")); //14 break; case 5: lcd.setCursor(2,1); lcd.print(F("heart and my")); //12 break; case 6: lcd.print(F("portion forever.")); //16 break; } } } int PsalmsOneEighteenFourteenSixteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Psalms 118:14-16")); // The Lord is my strength and my song; he has become my salvation. Glad songs of salvation are in the tents of the righteous: lcd.setCursor(0,1); if(ScrollNum >= 17) // “The right hand of the Lord does valiantly, the right hand of the Lord exalts, the right hand of the Lord does valiantly!” { //16,15 = 6 14,13 = 6 12,11 = 2 10,9 = 1 8,7 = 1 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("The Lord is my")); //14 break; case 2: lcd.print(F("strength and my")); //15 break; case 3: lcd.setCursor(2,1); lcd.print(F("song; he has")); //12 break; case 4: lcd.setCursor(3,1); lcd.print(F("become my")); //9 break; case 5: lcd.print(F("salvation. Glad")); //15 break; case 6: lcd.setCursor(4,1); lcd.print(F("songs of")); //8 break; case 7: lcd.print(F("salvation are in")); //16 break; case 8: lcd.print(F("the tents of the")); //16 break; case 9: lcd.print(F("righteous: \"The")); //15 break; case 10: lcd.setCursor(1,1); lcd.print(F("right hand of")); //13 break; case 11: lcd.setCursor(1,1); lcd.print(F("the Lord does")); //13 break; case 12: lcd.setCursor(1,1); lcd.print(F("valiantly, the")); //14 break; case 13: lcd.print(F("Lord exalts, the")); //16 break; case 14: lcd.setCursor(1,1); lcd.print(F("right hand of")); //13 break; case 15: lcd.setCursor(1,1); lcd.print(F("the Lord does")); //13 break; case 16: lcd.setCursor(2,1); lcd.print(F("valiantly!\"")); //11 break; } } } int PsalmOneNineteenOneFourteenOneFifteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Ps 119:114-115")); //You are my hiding place and my shield; I hope in your word. Depart from me, you evildoers, that I may keep the commandments of my God. if(ScrollNum >= 11) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(3,1); lcd.print(F("You are my")); //10 break; case 2: lcd.setCursor(0,1); lcd.print(F("hiding place and")); //16 break; case 3: lcd.setCursor(2,1); lcd.print(F("my shield; I")); //12 break; case 4: lcd.setCursor(2,1); lcd.print(F("hope in your")); //12 break; case 5: lcd.setCursor(2,1); lcd.print(F("word. Depart")); //12 break; case 6: lcd.setCursor(2,1); lcd.print(F("from me, you")); //12 break; case 7: lcd.setCursor(0,1); lcd.print(F("evildoers, that")); //15 break; case 8: lcd.setCursor(1,1); lcd.print(F("I may keep the")); //14 break; case 9: lcd.setCursor(0,1); lcd.print(F("commandments of")); //15 break; case 10: lcd.setCursor(4,1); lcd.print(F("my God.")); //7 break; } } } int PsalmsOneNineteenFifty() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Psalms 119:50")); // This is my comfort in my affliction, that your promise gives me life. if(ScrollNum >= 6) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(3,1); lcd.print(F("This is my")); //10 break; case 2: lcd.setCursor(1,1); lcd.print(F("comfort in my")); //3 break; case 3: lcd.setCursor(0,1); lcd.print(F("affliction, that")); //16 break; case 4: lcd.setCursor(2,1); lcd.print(F("your promise")); //12 break; case 5: lcd.setCursor(1,1); lcd.print(F("gives me life.")); //14 break; } } } int PsalmsOneTwentyOneTwo() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Psalms 120:1-2")); // In my distress I called to the Lord, and he answered me. Deliver me, O Lord, from lying lips, from a deceitful tongue. if(ScrollNum >= 10) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("In my distress I")); //16 break; case 2: lcd.setCursor(1,1); lcd.print(F("called to the")); //13 break; case 3: lcd.setCursor(2,1); lcd.print(F("Lord, and he")); //12 break; case 4: lcd.setCursor(2,1); lcd.print(F("answered me.")); //12 break; case 5: lcd.setCursor(1,1); lcd.print(F("Deliver me, O")); //13 break; case 6: lcd.setCursor(0,1); lcd.print(F("Lord, from lying")); //16 break; case 7: lcd.setCursor(2,1); lcd.print(F("lips, from a")); //12 break; case 8: lcd.setCursor(3,1); lcd.print(F("deceitful")); //9 break; case 9: lcd.setCursor(4,1); lcd.print(F("tongue.")); //7 break; } } } int PsalmsOneTwentyOneOneTwo() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Psalms 121:1-2")); // I lift up my eyes to the hills. From where does my help come? My help comes from the Lord, who made heaven and earth. if(ScrollNum >= 10) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("I lift up my")); //12 break; case 2: lcd.setCursor(2,1); lcd.print(F("eyes to the")); //11 break; case 3: lcd.setCursor(2,1); lcd.print(F("hills. From")); //11 break; case 4: lcd.setCursor(1,1); lcd.print(F("where does my")); //13 break; case 5: lcd.setCursor(1,1); lcd.print(F("help come? My")); //13 break; case 6: lcd.setCursor(0,1); lcd.print(F("help comes from")); //15 break; case 7: lcd.setCursor(1,1); lcd.print(F("the Lord, who")); //13 break; case 8: lcd.setCursor(0,1); lcd.print(F("made heaven and")); //15 break; case 9: lcd.setCursor(5,1); lcd.print(F("earth.")); //6 break; } } } int PsalmsOneThirtyEightThree() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("Psalms 138:3")); // On the day I called, you answered me; my strength of soul you increased. if(ScrollNum >= 6) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("On the day I")); //12 break; case 2: lcd.setCursor(2,1); lcd.print(F("called, you")); //11 break; case 3: lcd.setCursor(0,1); lcd.print(F("answered me; my")); //15 break; case 4: lcd.setCursor(0,1); lcd.print(F("strength of soul")); //16 break; case 5: lcd.setCursor(1,1); lcd.print(F("you increased.")); //14 break; } } } int PsalmsOneFortyFiveNineteen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Psalms 145:19")); // He fulfills the desire of those who fear him; he also hears their cry and saves them. if(ScrollNum >= 7) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("He fulfills the")); //15 break; case 2: lcd.setCursor(0,1); lcd.print(F("desire of those")); //15 break; case 3: lcd.setCursor(0,1); lcd.print(F("who fear him; he")); //16 break; case 4: lcd.setCursor(0,1); lcd.print(F("also hears their")); //16 break; case 5: lcd.setCursor(1,1); lcd.print(F("cry and saves")); //13 break; case 6: lcd.setCursor(5,1); lcd.print(F("them.")); //5 break; } } } int PsalmsOneFortySixFiveEight() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Psalms 146:5-8")); // Blessed is he whose help is the God of Jacob, whose hope is in the Lord his God, who made heaven and earth, the sea, if(ScrollNum >= 28) // and all that is in them, who keeps faith forever; who executes justice for the oppressed, who gives food to the hungry. { // The Lord sets the prisoners free; the Lord opens the eyes of the blind. The Lord lifts up those who are bowed down; the Lord loves the righteous. ScrollNum = 0; //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("Blessed is he")); //13 break; case 2: lcd.setCursor(1,1); lcd.print(F("whose help is")); //13 break; case 3: lcd.setCursor(3,1); lcd.print(F("the God of")); //10 break; case 4: lcd.setCursor(2,1); lcd.print(F("Jacob, whose")); //12 break; case 5: lcd.setCursor(1,1); lcd.print(F("hope is in the")); //14 break; case 6: lcd.setCursor(1,1); lcd.print(F("Lord his God,")); //13 break; case 7: lcd.setCursor(0,1); lcd.print(F("who made heaven")); //15 break; case 8: lcd.setCursor(1,1); lcd.print(F("and earth, the")); //14 break; case 9: lcd.setCursor(2,1); lcd.print(F("sea, and all")); //12 break; case 10: lcd.setCursor(0,1); lcd.print(F("that is in them,")); //16 break; case 11: lcd.setCursor(0,1); lcd.print(F("who keeps faith")); //15 break; case 12: lcd.setCursor(2,1); lcd.print(F("forever; who")); //12 break; case 13: lcd.setCursor(0,1); lcd.print(F("executes justice")); //16 break; case 14: lcd.setCursor(4,1); lcd.print(F("for the")); //7 break; case 15: lcd.setCursor(1,1); lcd.print(F("oppressed, who")); //14 break; case 16: lcd.setCursor(1,1); lcd.print(F("gives food to")); //13 break; case 17: lcd.setCursor(0,1); lcd.print(F("the hungry. The")); //15 break; case 18: lcd.setCursor(1,1); lcd.print(F("Lord sets the")); //13 break; case 19: lcd.setCursor(0,1); lcd.print(F("prisoners free;")); //15 break; case 20: lcd.setCursor(1,1); lcd.print(F("the Lord opens")); //14 break; case 21: lcd.setCursor(0,1); lcd.print(F("the eyes of the")); //15 break; case 22: lcd.setCursor(0,1); lcd.print(F("blind. The Lord")); //15 break; case 23: lcd.setCursor(1,1); lcd.print(F("lifts up those")); //14 break; case 24: lcd.setCursor(1,1); lcd.print(F("who are bowed")); //13 break; case 25: lcd.setCursor(1,1); lcd.print(F("down; the Lord")); //14 break; case 26: lcd.setCursor(3,1); lcd.print(F("loves the")); //9 break; case 27: lcd.setCursor(3,1); lcd.print(F("righteous.")); //10 break; } } } int PsalmsOneFortySevenThreeFour() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Psalms 147:3-4")); // He heals the brokenhearted and binds up their wounds. He determines the number of the stars; he gives to all of them their names. if(ScrollNum >= 10) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(2,1); lcd.print(F("He heals the")); //12 break; case 2: lcd.setCursor(1,1); lcd.print(F("brokenhearted")); //13 break; case 3: lcd.setCursor(2,1); lcd.print(F("and binds up")); //12 break; case 4: lcd.setCursor(0,1); lcd.print(F("their wounds. He")); //16 break; case 5: lcd.setCursor(1,1); lcd.print(F("determines the")); //14 break; case 6: lcd.setCursor(1,1); lcd.print(F("number of the")); //13 break; case 7: lcd.setCursor(0,1); lcd.print(F("stars; he gives")); //15 break; case 8: lcd.setCursor(1,1); lcd.print(F("to all of them")); //14 break; case 9: lcd.setCursor(2,1); lcd.print(F("their names.")); //12 break; } } } int RomansFiveEight() //16,15 = 3 14,13 = 1 12,11 = 1 10,9 = 1 8,7 = 0 6,5 = 0 4,3 = 0 2,1 = 0 These numbers are just a visual reminder of what is the most efficient... { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("Romans 5:8")); // but God shows his love for us in that while we were still sinners, Christ died for us. lcd.setCursor(0,1); if(ScrollNum >= 7) // { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("but God shows")); //13 break; case 2: lcd.print(F("his love for us")); //15 break; case 3: lcd.print(F("in that while we")); //16 break; case 4: lcd.setCursor(3,1); lcd.print(F("were still")); //10 break; case 5: lcd.print(F("sinners, Christ")); //15 break; case 6: lcd.setCursor(2,1); lcd.print(F("died for us.")); //12 break; } } } int RomansEightSix() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("Romans 8:6")); //For to set the mind on the flesh is death, but to set the mind on the Spirit is life and peace. if(ScrollNum >= 8) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("For to set the")); //14 break; case 2: lcd.setCursor(2,1); lcd.print(F("mind on the")); //11 break; case 3: lcd.setCursor(0,1); lcd.print(F("flesh is death,")); //15 break; case 4: lcd.setCursor(1,1); lcd.print(F("but to set the")); //14 break; case 5: lcd.setCursor(2,1); lcd.print(F("mind on the")); //11 break; case 6: lcd.setCursor(1,1); lcd.print(F("Spirit is life")); //14 break; case 7: lcd.setCursor(3,1); lcd.print(F("and peace.")); //10 break; } } } int RomansEightThirtySeven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(3,0); lcd.print(F("Romans 8:37")); //No, in all these things we are more than conquerors through him who loved us. if(ScrollNum >= 7) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("No, in all these")); //16 break; case 2: lcd.setCursor(1,1); lcd.print(F("things we are")); //13 break; case 3: lcd.setCursor(3,1); lcd.print(F("more than")); //9 break; case 4: lcd.setCursor(3,1); lcd.print(F("conquerors")); //10 break; case 5: lcd.setCursor(0,1); lcd.print(F("through him who")); //15 break; case 6: lcd.setCursor(3,1); lcd.print(F("loved us.")); //9 break; } } } int OneSamuelTwentyTwoThree() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("1 Samuel 22:3")); // my God, my rock, in whom I take refuge, my shield, and the horn of my salvation, if(ScrollNum >= 12) // my stronghold and my refuge, my savior; you save me from violence. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("my God, my rock,")); //16 break; case 2: lcd.setCursor(1,1); lcd.print(F("in whom I take")); //14 break; case 3: lcd.setCursor(3,1); lcd.print(F("refuge, my")); //10 break; case 4: lcd.setCursor(0,1); lcd.print(F("shield, and the")); //15 break; case 5: lcd.setCursor(3,1); lcd.print(F("horn of my")); //10 break; case 6: lcd.setCursor(1,1); lcd.print(F("salvation, my")); //13 break; case 7: lcd.setCursor(1,1); lcd.print(F("stronghold and")); //14 break; case 8: lcd.setCursor(1,1); lcd.print(F("my refuge, my")); //13 break; case 9: lcd.setCursor(0,1); lcd.print(F("savior; you save")); //16 break; case 10: lcd.setCursor(4,1); lcd.print(F("me from")); //7 break; case 11: lcd.setCursor(3,1); lcd.print(F("violence.")); //9 break; } } } int FirstThessaloniansfiveEleven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("1 Thess 5:11")); //Therefore encourage one another and build one another up, just as you are doing. if(ScrollNum >= 8) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(4,1); lcd.print(F("Therefore")); //7 break; case 2: lcd.setCursor(1,1); lcd.print(F("encourage one")); //13 break; case 3: lcd.setCursor(2,1); lcd.print(F("another and")); //11 break; case 4: lcd.setCursor(3,1); lcd.print(F("build one")); //9 break; case 5: lcd.setCursor(0,1); lcd.print(F("another up, just")); //16 break; case 6: lcd.setCursor(3,1); lcd.print(F("as you are")); //10 break; case 7: lcd.setCursor(5,1); lcd.print(F("doing.")); //6 break; } } } int SecondThessaloniansThreeThree() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("2 Thess 3:3")); // But the Lord is faithful. He will establish you and guard you against the evil one. if(ScrollNum >= 7) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("But the Lord is")); //15 break; case 2: lcd.setCursor(1,1); lcd.print(F("faithful. He")); //12 break; case 3: lcd.setCursor(1,1); lcd.print(F("will establish")); //14 break; case 4: lcd.setCursor(1,1); lcd.print(F("you and guard")); //13 break; case 5: lcd.setCursor(0,1); lcd.print(F("you against the")); //15 break; case 6: lcd.setCursor(3,1); lcd.print(F("evil one.")); //9 break; } } } int SecondTimothyOneSixSeven() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("2 Timothy 1:6-7")); // For this reason I remind you to fan into flame the gift of God, which is in you through the laying on of my hands, if(ScrollNum >= 14) // for God gave us a spirit not of fear but of power and love and self-control. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("For this reason")); //15 break; case 2: lcd.setCursor(0,1); lcd.print(F("I remind you to")); //15 break; case 3: lcd.setCursor(1,1); lcd.print(F("fan into flame")); //14 break; case 4: lcd.setCursor(0,1); lcd.print(F("the gift of God,")); //16 break; case 5: lcd.setCursor(0,1); lcd.print(F("which is in you")); //15 break; case 6: lcd.setCursor(2,1); lcd.print(F("through the")); //11 break; case 7: lcd.setCursor(0,1); lcd.print(F("laying on of my")); //15 break; case 8: lcd.setCursor(1,1); lcd.print(F("hands, for God")); //14 break; case 9: lcd.setCursor(0,1); lcd.print(F("gave us a spirit")); //16 break; case 10: lcd.setCursor(0,1); lcd.print(F("not of fear but")); //15 break; case 11: lcd.setCursor(2,1); lcd.print(F("of power and")); //12 break; case 12: lcd.setCursor(4,1); lcd.print(F("love and")); //8 break; case 13: lcd.setCursor(1,1); lcd.print(F("self-control.")); //13 break; } } } int ZechariahFourSix() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Zechariah 4:6")); //Then he said to me, “This is the word of the Lord to Zerubbabel: Not by might, nor by power, but by my Spirit, says the Lord of hosts. if(ScrollNum >= 11) //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("Then he said to")); //15 break; case 2: lcd.setCursor(0,1); lcd.print(F("me, \"This is the")); //16 break; case 3: lcd.setCursor(0,1); lcd.print(F("word of the Lord")); //16 break; case 4: lcd.setCursor(1,1); lcd.print(F("to Zerubbabel:")); //14 break; case 5: lcd.setCursor(1,1); lcd.print(F("Not by might,")); //13 break; case 6: lcd.setCursor(1,1); lcd.print(F("nor by power,")); //13 break; case 7: lcd.setCursor(3,1); lcd.print(F("but by my")); //9 break; case 8: lcd.setCursor(0,1); lcd.print(F("Spirit, says the")); //16 break; case 9: lcd.setCursor(2,1); lcd.print(F("the Lord of")); //11 break; case 10: lcd.setCursor(5,1); lcd.print(F("hosts.")); //6 break; } } } int ZephaniahThreeFourFive() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(0,0); lcd.print(F("Zephaniah 3:4-5")); // Her prophets are fickle, treacherous men; her priests profane what is holy; they do violence to the law. The Lord within her is righteous; if(ScrollNum >= 15) // he does no injustice; every morning he shows forth his justice; each dawn he does not fail; but the unjust knows no shame. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("Her prophets are")); //16 break; case 2: lcd.setCursor(4,1); lcd.print(F("fickle,")); //7 break; case 3: lcd.setCursor(0,1); lcd.print(F("treacherous men;")); //16 break; case 4: lcd.setCursor(2,1); lcd.print(F("her priests")); //11 break; case 5: lcd.setCursor(0,1); lcd.print(F("profane what is")); //15 break; case 6: lcd.setCursor(1,1); lcd.print(F("holy; they do")); //13 break; case 7: lcd.setCursor(0,1); lcd.print(F("violence to the")); //15 break; case 8: lcd.setCursor(1,1); lcd.print(F("law. The Lord")); //13 break; case 9: lcd.setCursor(1,1); lcd.print(F("within her is")); //13 break; case 10: lcd.setCursor(1,1); lcd.print(F("righteous; he")); //13 break; case 11: lcd.setCursor(4,1); lcd.print(F("does no")); //7 break; case 12: lcd.setCursor(0,1); lcd.print(F("injustice; every")); //16 break; case 13: lcd.setCursor(0,1); lcd.print(F("morning he shows")); //16 break; case 14: lcd.setCursor(3,1); lcd.print(F("forth his")); //9 break; case 15: lcd.setCursor(1,1); lcd.print(F("justice; each")); //13 break; case 16: lcd.setCursor(0,1); lcd.print(F("dawn he does not")); //16 break; case 17: lcd.setCursor(1,1); lcd.print(F("fail; but the")); //13 break; case 18: lcd.setCursor(0,1); lcd.print(F("unjust knows no")); //15 break; case 19: lcd.setCursor(5,1); lcd.print(F("shame.")); //6 break; } } } int ZephaniahThreeSeventeen() { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(1,0); lcd.print(F("Zephanaih 3:17")); // The Lord your God is in your midst, a mighty one who will save; he will rejoice over you with gladness; if(ScrollNum >= 14) // he will quiet you by his love; he will exult over you with loud singing. { //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(1,1); lcd.print(F("The Lord your")); //13 break; case 2: lcd.setCursor(1,1); lcd.print(F("God is in your")); //14 break; case 3: lcd.setCursor(0,1); lcd.print(F("midst, a mighty")); //15 break; case 4: lcd.setCursor(2,1); lcd.print(F("one who will")); //12 break; case 5: lcd.setCursor(1,1); lcd.print(F("save; he will")); //13 break; case 6: lcd.setCursor(0,1); lcd.print(F("rejoice over you")); //16 break; case 7: lcd.setCursor(1,1); lcd.print(F("with gladness;")); //14 break; case 8: lcd.setCursor(1,1); lcd.print(F("he will quiet")); //13 break; case 9: lcd.setCursor(0,1); lcd.print(F("you by his love;")); //16 break; case 10: lcd.setCursor(1,1); lcd.print(F("he will exult")); //13 break; case 11: lcd.setCursor(1,1); lcd.print(F("over you with")); //13 break; case 12: lcd.setCursor(4,1); lcd.print(F("with loud")); //8 break; case 13: lcd.setCursor(4,1); lcd.print(F("singing.")); //8 break; } } } /* int BlankBibleVerse() //16,15 = 14,13 = 12,11 = 10,9 = 8,7 = 6,5 = 4,3 = 2,1 = These numbers are just a visual reminder of what is the most efficient... { if(PastScrollNum != ScrollNum) { lcd.clear(); lcd.setCursor(2,0); lcd.print(F("VERSE")); // if(ScrollNum >= 15) // { ScrollNum = 0; } switch(ScrollNum) { case 0: break; case 1: lcd.setCursor(0,1); lcd.print(F("")); // break; case 2: lcd.setCursor(0,1); lcd.print(F("")); // break; case 3: lcd.setCursor(0,1); lcd.print(F("")); // break; case 4: lcd.setCursor(0,1); lcd.print(F("")); // break; case 5: lcd.setCursor(0,1); lcd.print(F("")); // break; case 6: lcd.setCursor(0,1); lcd.print(F("")); // break; case 7: lcd.setCursor(0,1); lcd.print(F("")); // break; case 8: lcd.setCursor(0,1); lcd.print(F("")); // break; case 9: lcd.setCursor(0,1); lcd.print(F("")); // break; case 10: lcd.setCursor(0,1); lcd.print(F("")); // break; case 11: lcd.setCursor(0,1); lcd.print(F("")); // break; case 12: lcd.setCursor(0,1); lcd.print(F("")); // break; case 13: lcd.setCursor(0,1); lcd.print(F("")); // break; case 14: lcd.setCursor(0,1); lcd.print(F("")); // break; } } } */